kexec: switch to a known good/static GDT before kexec
authorKeir Fraser <keir.fraser@citrix.com>
Thu, 2 Jul 2009 15:16:15 +0000 (16:16 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Thu, 2 Jul 2009 15:16:15 +0000 (16:16 +0100)
commit4cb90ae29a9c8615d7087773362062545f052d0f
tree989412c904eb4e0421fcd83831ae32db920d710d
parent47eb698d5335072855b86064baf5adb0aaa6b131
kexec: switch to a known good/static GDT before kexec

kexec has been failing (at least on 32on64, didn't try others) since
18771:8e18dd41c6c7 "x86: reduce GDT switching". Ensure that we are
using a known good GDT before attempting to switch to compatability
mode.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
xen/arch/x86/machine_kexec.c